package com.lls.punchin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lls.punchin.common.base.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDate;

/**
 * <p>
 * 问答表
 * </p>
 *
 * @author lls
 * @since 2025-09-06
 */
@Getter
@Setter
@ToString
@TableName("punch_in_record")
public class PunchInRecordEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 打卡标签，值见sys_dict.dict_type="punch_in_tag"
     */
    @TableField("tag")
    private String tag;

    /**
     * 数据类型，1-时长，2-文字
     */
    @TableField("data_type")
    private Byte dataType;

    /**
     * 内容
     */
    @TableField("content")
    private String content;

    /**
     * 打卡日期
     */
    @TableField("record_date")
    private LocalDate recordDate;

    /**
     * 是否补卡，1-是，0-否
     */
    @TableField("complement")
    private Byte complement;
}
